package com.jewllama.taxburden;

import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;

public class TaxBurdenMain extends Activity {
	public final static String AGE_DISPLAY = "com.jewllama.taxburden.MESSAGE";
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_main, menu);
        return true;
    }
    
    public void submitData (View view) {
    	Intent intent = new Intent(this, DisplayResponse.class);
        startActivity(intent);
    }
    
    public void genderList (View view) {
    	final CharSequence[] items = {"Male", "Female", "YOLO"};

    	AlertDialog.Builder builder = new AlertDialog.Builder(this);
    	builder.setTitle("Pick a gender");
    	builder.setSingleChoiceItems(items, -1, new DialogInterface.OnClickListener() {
    	    public void onClick(DialogInterface dialog, int item) {
    	        
    	    }
    	});
    	AlertDialog alert = builder.create();
    	alert.show();
    }
  
}
